import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { SysMenu } from "@/database/entity/SysMenu";
import { PermModule } from "../permission/perm.module";
import { MenuController } from "./menu.controller";
import { MenuService } from "./menu.service";

@Module({
    imports: [PermModule, TypeOrmModule.forFeature([SysMenu])],
    controllers: [MenuController],
    providers: [MenuService],
    exports: [MenuService],
})
export class MenuModule {}
